package com.company.cloud.admin.modules.admin.service;

import java.util.List;

import com.company.cloud.admin.modules.admin.models.MenuResultInfo;
import com.company.cloud.admin.modules.cache.models.PermissionModel;
import com.company.cloud.common.bean.LoginSimpleUserInfo;


public interface PermissionMgrService {

	
	public void delete(String code, LoginSimpleUserInfo userInfo);
	
	public List<PermissionModel> getPermissionTree();
	
	public List<PermissionModel> getMenuTree(Integer userId, String showApp);
	
	public MenuResultInfo getMenu2ButtonTree(Integer userId, String showApp);
	
	
	
	
}
